<?php
/**
 * Created by PhpStorm.
 * User: Dave
 * Date: 2018/8/8
 * Time: 11:19
 */

namespace Biz\tools;


class SmallProgram
{
    public static function smallProgramId()
    {
        return 'gh_b2f9a69203e8';
    }

    public static function getSpecialLink($specialId, $isBase64 = false)
    {
        return 'pages/treatise/treatise?id=' . $specialId;
    }

    public static function getGoodsDetailLink($goodsId, $isBase64 = false)
    {
        return 'pages/detail/detail?goods_id=' . $goodsId;
    }

    public static function getGoodsPintuanLink($teamId, $isBase64 = false)
    {
        return 'pages/groupBuy/groupBuy?team_id=' . $teamId;
    }

    public static function getGroupBuyDetailLink($groupBuyId)
    {
        return 'pages/detail/detail?group_buy_id=' . $groupBuyId;
    }

    public static function getSmallProgramIndexLink()
    {
        return 'pages/index/index';
    }
}